'use strict';

angular.module('snPaas_om')
.directive('spMultiTabs',['baseUrl',function(baseUrl){
    return {
      restrict:'A',
      priority:-1,
      templateUrl :baseUrl.static+'template/directive/spMultiTabs.html',
      replace:false,
      // scope:{
      //   spMultiTabs: '=',
      //   spData:'='
      // },
      // controller:function(){},
      link:function postLink(scope,iElement,iAttrs){
        console.log(scope.spMultiTabs);
        scope.baseUrl = baseUrl.static;
        scope.indexNow = 0;
        scope.switchTab = function(index){
         scope.indexNow = index;
        };
      }
   }

}]);